package web.entity;

import java.util.List;

public class PageMsg<T> {
    //装数据的集合
    List<T> data;
    //总行数
    int total;
    //每一页的页数
    int limit;
    //当前页
    int current;

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }
}
